package com.upcode.weighing.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.upcode.weighing.base.domain.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author alex
 * @since 2024-10-10
 */
public class DriverInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String driverName;

    /**
     * 1男2女
     */
    private Short driverSex;

    private String driverIdNo;

    private String drivingLicenseNo;

    private String vehicleRecognizeNo;

    private Long driverIdPhoto;

    private Long drivingLicensePhoto;

    @TableField("vehicleRecognizePhoto")
    private Long vehicleRecognizePhoto;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }
    public Short getDriverSex() {
        return driverSex;
    }

    public void setDriverSex(Short driverSex) {
        this.driverSex = driverSex;
    }
    public String getDriverIdNo() {
        return driverIdNo;
    }

    public void setDriverIdNo(String driverIdNo) {
        this.driverIdNo = driverIdNo;
    }
    public String getDrivingLicenseNo() {
        return drivingLicenseNo;
    }

    public void setDrivingLicenseNo(String drivingLicenseNo) {
        this.drivingLicenseNo = drivingLicenseNo;
    }
    public String getVehicleRecognizeNo() {
        return vehicleRecognizeNo;
    }

    public void setVehicleRecognizeNo(String vehicleRecognizeNo) {
        this.vehicleRecognizeNo = vehicleRecognizeNo;
    }
    public Long getDriverIdPhoto() {
        return driverIdPhoto;
    }

    public void setDriverIdPhoto(Long driverIdPhoto) {
        this.driverIdPhoto = driverIdPhoto;
    }
    public Long getDrivingLicensePhoto() {
        return drivingLicensePhoto;
    }

    public void setDrivingLicensePhoto(Long drivingLicensePhoto) {
        this.drivingLicensePhoto = drivingLicensePhoto;
    }
    public Long getVehicleRecognizePhoto() {
        return vehicleRecognizePhoto;
    }

    public void setVehicleRecognizePhoto(Long vehicleRecognizePhoto) {
        this.vehicleRecognizePhoto = vehicleRecognizePhoto;
    }

    @Override
    public String toString() {
        return "DriverInfo{" +
        "id=" + id +
        ", driverName=" + driverName +
        ", driverSex=" + driverSex +
        ", driverIdNo=" + driverIdNo +
        ", drivingLicenseNo=" + drivingLicenseNo +
        ", vehicleRecognizeNo=" + vehicleRecognizeNo +
        ", driverIdPhoto=" + driverIdPhoto +
        ", drivingLicensePhoto=" + drivingLicensePhoto +
        ", vehicleRecognizePhoto=" + vehicleRecognizePhoto +
        "}";
    }
}
